package cn.hd.userService.mapper.role;

import cn.hd.commonService.entity.SysRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hd
 * @since 2022-06-26
 */
@Mapper
public interface SysRoleMapper extends BaseMapper<SysRole> {

    @Select("select max(roleNo) from sys_role")
    public Integer maxOrderNo();

}
